Imports Clo = Enhancements.Core.Logging
Imports Ref = System.Reflection
Imports Sys = System

Namespace Enhancements.Basic.Expressions.Values
    ''' <summary>The exception that is thrown when a boolean value token representation is not possible.</summary>
    <Serializable(), DebuggerStepThrough()> _
    Public NotInheritable Class BooleanRepresentationException
        Inherits ValueRepresentationException

        Private Sub New(ByVal _value As System.Boolean)
            MyBase.New(_value)
        End Sub

        ''' <summary>Throws an exception.</summary>
        ''' <exception cref="BooleanRepresentationException"> </exception>
        Friend Overloads Shared Sub ___Throw(ByVal _value As System.Boolean)
            Dim _exception As BooleanRepresentationException = New BooleanRepresentationException(_value)

            Throw _exception
        End Sub

    End Class
End Namespace
